package com.ruoyi.linkage.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 流程模板节点对象 linkage_process_template_item
 *
 * @author pengjie
 * @date 2023-12-20
 */
public class LinkageProcessTemplateItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 模板ID */
    @Excel(name = "模板ID")
    private String templateId;

    /** 模板编号 */
    @Excel(name = "模板编号")
    private String templateCode;

    /** 序号 */
    @Excel(name = "序号")
    private Long sorting;

    /** 联动事件类型 */
    @Excel(name = "联动事件类型")
    private String linkageEventType;

    /** 告警级别 */
    @Excel(name = "告警级别")
    private String alarmLevel;

    /** 告警内容 */
    @Excel(name = "告警内容")
    private String alarmContent;

    /** 广播范围 */
    @Excel(name = "广播范围")
    private String broadcastRange;

    /** 广播内容 */
    @Excel(name = "广播内容")
    private String broadcastContent;

    /** 通知范围 */
    @Excel(name = "通知范围")
    private String noticeRange;

    /** 通知方式 */
    @Excel(name = "通知方式")
    private String noticeWay;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String noticeContent;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTemplateId(String templateId)
    {
        this.templateId = templateId;
    }

    public String getTemplateId()
    {
        return templateId;
    }
    public void setTemplateCode(String templateCode)
    {
        this.templateCode = templateCode;
    }

    public String getTemplateCode()
    {
        return templateCode;
    }
    public void setSorting(Long sorting)
    {
        this.sorting = sorting;
    }

    public Long getSorting()
    {
        return sorting;
    }
    public void setLinkageEventType(String linkageEventType)
    {
        this.linkageEventType = linkageEventType;
    }

    public String getLinkageEventType()
    {
        return linkageEventType;
    }
    public void setAlarmLevel(String alarmLevel)
    {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmLevel()
    {
        return alarmLevel;
    }
    public void setAlarmContent(String alarmContent)
    {
        this.alarmContent = alarmContent;
    }

    public String getAlarmContent()
    {
        return alarmContent;
    }
    public void setBroadcastRange(String broadcastRange)
    {
        this.broadcastRange = broadcastRange;
    }

    public String getBroadcastRange()
    {
        return broadcastRange;
    }
    public void setBroadcastContent(String broadcastContent)
    {
        this.broadcastContent = broadcastContent;
    }

    public String getBroadcastContent()
    {
        return broadcastContent;
    }
    public void setNoticeRange(String noticeRange)
    {
        this.noticeRange = noticeRange;
    }

    public String getNoticeRange()
    {
        return noticeRange;
    }
    public void setNoticeWay(String noticeWay)
    {
        this.noticeWay = noticeWay;
    }

    public String getNoticeWay()
    {
        return noticeWay;
    }
    public void setNoticeContent(String noticeContent)
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent()
    {
        return noticeContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateId", getTemplateId())
            .append("templateCode", getTemplateCode())
            .append("sorting", getSorting())
            .append("linkageEventType", getLinkageEventType())
            .append("alarmLevel", getAlarmLevel())
            .append("alarmContent", getAlarmContent())
            .append("broadcastRange", getBroadcastRange())
            .append("broadcastContent", getBroadcastContent())
            .append("noticeRange", getNoticeRange())
            .append("noticeWay", getNoticeWay())
            .append("noticeContent", getNoticeContent())
            .toString();
    }
}
